package com.tencreat.domain.mall.dto;
/**
 * 团购入参
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.core.domain.dto.BasePageEntityDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MallGoodsCollageDTO extends BasePageEntityDTO {

    @ApiModelProperty("活动编号")
    private String activeSn;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("专区名称")
    private String zoneName;

    @ApiModelProperty("商品状态 0|下架 1|上架")
    private Integer status;

    @ApiModelProperty("活动时间-开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("活动时间-结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
